#ifndef FILE_DIALOG_HPP
#define FILE_DIALOG_HPP

#include <QWidget>
#include <QFileDialog>

class FileDialog : public QWidget {
    Q_OBJECT
public:
    explicit FileDialog(QWidget *parent = nullptr);
    void create_file_selector();

signals:
    void fileSelected(const QString &path);

private slots:
    void onFileSelected(const QString &file);

private:
    QFileDialog m_dialog;
};

#endif